package com.sui.bigdata.flink.sql.function.scalar;

import com.feidee.fdcommon.util.ToolUtils;
import org.apache.flink.table.functions.ScalarFunction;

/**
 * @author YongChen
 * @date 2018/12/25 10:18
 * @description
 * @email yong_chen@sui.com
 */
public class NotBlank extends ScalarFunction {
    public static boolean eval(String str1){
        return !"NULL".equals(str1) && ToolUtils.isNotNull(str1);
    }
}
